﻿<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="CRMInstaller.TenantDetails"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:CRMInstaller"
        mc:Ignorable="d"
        Title="Tenant Details" Height="720" Width="1280" WindowStyle="None" WindowStartupLocation="CenterScreen" WindowState="Normal" ResizeMode="NoResize">
    <Window.Resources>
        <Storyboard x:Key="Storyboard1" RepeatBehavior="Forever">
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
                <SplineDoubleKeyFrame KeyTime="00:00:02" Value="360"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Window.Resources>
    <Window.Triggers>
        <EventTrigger RoutedEvent="FrameworkElement.Loaded">
            <BeginStoryboard Storyboard="{StaticResource Storyboard1}"/>
        </EventTrigger>
    </Window.Triggers>
    <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="_" Width="1280" Height="720" Clip="F1 M 0,0L 1280,0L 1280,720L 0,720L 0,0">
        <Canvas x:Name="BG" Width="1280" Height="720" Canvas.Left="0" Canvas.Top="0"/>
        <Canvas x:Name="Contents" Width="1280" Height="720" Canvas.Left="0" Canvas.Top="0">
            <Viewbox x:Name="Group" Width="1226.67" Height="46.6667" Canvas.Left="26.6667" Canvas.Top="62.6666">
                <Canvas Width="1226.67" Height="46.6667">
                    <Viewbox x:Name="Group_0" Width="213.333" Height="46.6667" Canvas.Left="0" Canvas.Top="0">
                        <Canvas Width="213.333" Height="46.6667">
                            <Path x:Name="Path" Width="213.333" Height="46.6667" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="#FFCCCCCC" Data="F1 M 0,46.6667L 20,23.3333L 0,0L 193.333,0L 213.333,23.3333L 193.333,46.6667L 0,46.6667 Z "/>
                            <TextBlock x:Name="TextBlock" TextAlignment="Center" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                                <TextBlock.RenderTransform>
                                    <TransformGroup>
                                        <MatrixTransform Matrix="1.33333,0,0,1.33333,66.6167,9.57784"/>
                                    </TransformGroup>
                                </TextBlock.RenderTransform>
							    <Run FontFamily="Segoe UI Light" FontSize="15" Text="Welcome" Foreground="#FF4D4D4D"/>
                            </TextBlock>
                        </Canvas>
                    </Viewbox>
                    <Viewbox x:Name="Group_1" Width="213.333" Height="46.6667" Canvas.Left="202.667" Canvas.Top="0">
                        <Canvas Width="213.333" Height="46.6667">
                            <Path x:Name="Path_2" Width="213.333" Height="46.6667" Canvas.Left="5.72205e-006" Canvas.Top="0" Stretch="Fill" Fill="#FFCCCCCC" Data="F1 M 5.72205e-006,46.6667L 20,23.3333L 5.72205e-006,0L 193.333,0L 213.333,23.3333L 193.333,46.6667L 5.72205e-006,46.6667 Z "/>
                            <TextBlock x:Name="TextBlock_3" TextAlignment="Center" FontFamily="Segoe UI Light" FontSize="15" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                                <TextBlock.RenderTransform>
                                    <TransformGroup>
                                        <MatrixTransform Matrix="1.33333,0,0,1.33333,42.7277,9.10002"/>
                                    </TransformGroup>
                                </TextBlock.RenderTransform>
							    <Run Text="User Agreement" Foreground="#FF4D4D4D"/>
                            </TextBlock>
                        </Canvas>
                    </Viewbox>
                    <!--<Viewbox x:Name="Group_4" Width="213.333" Height="46.6667" Canvas.Left="405.333" Canvas.Top="0">
                        <Canvas Width="213.333" Height="46.6667">
                            <Path x:Name="Path_5" Width="213.333" Height="46.6667" Canvas.Left="-9.53674e-006" Canvas.Top="0" Stretch="Fill" Fill="#FFCCCCCC" Data="F1 M -9.53674e-006,46.6667L 20,23.3333L -9.53674e-006,0L 193.333,0L 213.333,23.3333L 193.333,46.6667L -9.53674e-006,46.6667 Z "/>
                            <TextBlock x:Name="TextBlock_6" TextAlignment="Center" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                                <TextBlock.RenderTransform>
                                    <TransformGroup>
                                        <MatrixTransform Matrix="1.33333,0,0,1.33333,48.3625,9.16667"/>
                                    </TransformGroup>
                                </TextBlock.RenderTransform>
							    <Run FontFamily="Segoe UI Light" FontSize="15" Text="Company Info" Foreground="#FF4D4D4D"/>
                            </TextBlock>
                        </Canvas>
                    </Viewbox>-->
                    <Viewbox x:Name="Group_7" Width="213.333" Height="46.6667" Canvas.Left="404" Canvas.Top="0">
                        <Canvas Width="213.333" Height="46.6667">
                            <Path x:Name="Path_8" Width="213.333" Height="46.6667" Canvas.Left="2.09808e-005" Canvas.Top="0" Stretch="Fill" Fill="#FFCF752A" Data="F1 M 2.09808e-005,46.6667L 20,23.3333L 2.09808e-005,0L 193.333,0L 213.333,23.3333L 193.333,46.6667L 2.09808e-005,46.6667 Z "/>
                            <TextBlock x:Name="TextBlock_9" TextAlignment="Center" FontFamily="Segoe UI" FontSize="15" Width="Auto" Height="Auto" Canvas.Left="-32" Canvas.Top="0">
                                <TextBlock.RenderTransform>
                                    <TransformGroup>
                                        <MatrixTransform Matrix="1.33333,0,0,1.33333,77.8644,9.16667"/>
                                    </TransformGroup>
                                </TextBlock.RenderTransform>
							    <Run Text="Tenant Details" Foreground="#FFFFFFFF"/>
                            </TextBlock>
                        </Canvas>
                    </Viewbox>
                    <Viewbox x:Name="Group_25" Width="213.333" Height="46.6667" Canvas.Left="607.333" Canvas.Top="0">
                        <Canvas Width="213.333" Height="46.6667">
                            <Path x:Name="Path_23" Width="213.333" Height="46.6667" Canvas.Left="-9.53674e-006" Canvas.Top="0" Stretch="Fill" Fill="#FFCCCCCC" Data="F1 M -9.53674e-006,46.6667L 20,23.3333L -9.53674e-006,0L 193.333,0L 213.333,23.3333L 193.333,46.6667L -9.53674e-006,46.6667 Z "/>
                            <TextBlock x:Name="TextBlock_25" TextAlignment="Center" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                                <TextBlock.RenderTransform>
                                    <TransformGroup>
                                        <MatrixTransform Matrix="1.33333,0,0,1.33333,48.3625,9.16667"/>
                                    </TransformGroup>
                                </TextBlock.RenderTransform>
							    <Run FontFamily="Segoe UI Light" FontSize="15" Text="Azure Details" Foreground="#FF4D4D4D"/>
                            </TextBlock>
                        </Canvas>
                    </Viewbox>
                    <Viewbox x:Name="Group_10" Width="213.333" Height="46.6667" Canvas.Left="810.667" Canvas.Top="0">
                        <Canvas Width="213.333" Height="46.6667">
                            <Path x:Name="Path_11" Width="213.333" Height="46.6667" Canvas.Left="2.09808e-005" Canvas.Top="0" Stretch="Fill" Fill="#FFCCCCCC" Data="F1 M 2.09808e-005,46.6667L 20,23.3333L 2.09808e-005,0L 193.333,0L 213.333,23.3333L 193.333,46.6667L 2.09808e-005,46.6667 Z "/>
                            <TextBlock x:Name="TextBlock_12" TextAlignment="Center" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                                <TextBlock.RenderTransform>
                                    <TransformGroup>
                                        <MatrixTransform Matrix="1.33333,0,0,1.33333,64.383,9.16667"/>
                                    </TransformGroup>
                                </TextBlock.RenderTransform>
							    <Run FontFamily="Segoe UI Light" FontSize="15" Text="Run Mode" Foreground="#FF4D4D4D"/>
                            </TextBlock>
                        </Canvas>
                    </Viewbox>
                    <Viewbox x:Name="Group_13" Width="213.333" Height="46.6667" Canvas.Left="1013.33" Canvas.Top="0">
                        <Canvas Width="213.333" Height="46.6667">
                            <Path x:Name="Path_14" Width="213.333" Height="46.6667" Canvas.Left="2.09808e-005" Canvas.Top="0" Stretch="Fill" Fill="#FFCCCCCC" Data="F1 M 2.09808e-005,46.6667L 20,23.3333L 2.09808e-005,0L 193.333,0L 213.333,23.3333L 193.333,46.6667L 2.09808e-005,46.6667 Z "/>
                            <TextBlock x:Name="TextBlock_15" TextAlignment="Center" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                                <TextBlock.RenderTransform>
                                    <TransformGroup>
                                        <MatrixTransform Matrix="1.33333,0,0,1.33333,81.8244,9.16667"/>
                                    </TransformGroup>
                                </TextBlock.RenderTransform>
							    <Run FontFamily="Segoe UI Light" FontSize="15" Text="Emails" Foreground="#FF4D4D4D"/>
                            </TextBlock>
                        </Canvas>
                    </Viewbox>
                </Canvas>
            </Viewbox>
            <Viewbox x:Name="Next" Width="87.8601" Height="28.1406" Canvas.Left="1160.14" Canvas.Top="666.38" MouseUp="NextMouseUpEventHandler">
                <Canvas Width="87.8601" Height="28.1406">
                    <TextBlock x:Name="tBlockNext" TextAlignment="Left" FontFamily="Segoe UI" FontSize="19" Width="68" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                        <TextBlock.Style>
                            <Style TargetType="TextBlock">
                                <Style.Triggers>
                                    <Trigger Property ="IsMouseOver" Value="True">
                                        <Setter Property= "TextBlock.Background" Value="#D9D9D9"/>
                                    </Trigger>
                                </Style.Triggers>
                            </Style>
                        </TextBlock.Style>
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleY="1.333" ScaleX="1.333"/>
                                <SkewTransform/>
                                <RotateTransform/>
                                <TranslateTransform X="-2.27999" Y="-4.2881"/>
                            </TransformGroup>

                        </TextBlock.RenderTransform>
                        <Run Text="Next" Foreground="#FF0072C6"/>
                    </TextBlock>
                    <Path x:Name="Path_21" Width="28.1421" Height="28.1406" Canvas.Left="59.718" Canvas.Top="0" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 87.8601,14.0886C 87.8601,15.3672 87.6907,16.599 87.3522,17.7865C 87.0137,18.974 86.5358,20.0898 85.9172,21.1328C 85.2988,22.1771 84.5605,23.1263 83.7037,23.9844C 82.8442,24.8412 81.8951,25.5807 80.8522,26.1979C 79.8079,26.8177 78.6907,27.2943 77.4994,27.6328C 76.3079,27.9714 75.0735,28.1406 73.7948,28.1406C 72.5161,28.1406 71.282,27.9714 70.0905,27.6328C 68.8992,27.2943 67.782,26.8203 66.7377,26.2109C 65.6946,25.6003 64.7429,24.8672 63.8809,24.0092C 63.0188,23.1511 62.2793,22.2006 61.6595,21.1576C 61.0422,20.1146 60.5631,18.9974 60.2246,17.806C 59.886,16.6146 59.718,15.375 59.718,14.0886C 59.718,12.8099 59.886,11.5756 60.2246,10.3842C 60.5631,9.19275 61.0422,8.07556 61.6595,7.03125C 62.2793,5.98828 63.0188,5.0365 63.8809,4.1745C 64.7429,3.3125 65.6946,2.57294 66.7377,1.95313C 67.782,1.33594 68.8992,0.854187 70.0905,0.513062C 71.282,0.170593 72.5161,0 73.7948,0C 75.0735,0 76.3079,0.169312 77.4994,0.506531C 78.6907,0.845093 79.8079,1.32031 80.8522,1.93494C 81.8951,2.5495 82.8442,3.28778 83.7037,4.14978C 84.5605,5.01044 85.2988,5.96356 85.9172,7.00653C 86.5358,8.0495 87.0137,9.16931 87.3522,10.3646C 87.6907,11.5612 87.8601,12.8021 87.8601,14.0886 Z M 86.0032,14.0756C 86.0032,12.9636 85.8574,11.8867 85.5645,10.8477C 85.2715,9.80859 84.8612,8.83594 84.334,7.92841C 83.8052,7.02087 83.1713,6.19531 82.429,5.44794C 81.6868,4.70184 80.8639,4.0625 79.9614,3.53125C 79.0579,2.99872 78.0865,2.58594 77.0475,2.29431C 76.0084,2.00134 74.9276,1.85419 73.8079,1.85419C 72.6934,1.85419 71.6204,2.00134 70.5852,2.29431C 69.55,2.58594 68.5813,2.99872 67.6776,3.53125C 66.7754,4.0625 65.9486,4.70184 65.1986,5.44794C 64.4473,6.19531 63.8066,7.02087 63.274,7.92841C 62.7429,8.83594 62.3287,9.80859 62.032,10.8477C 61.735,11.8867 61.5865,12.9636 61.5865,14.0756C 61.5865,15.1901 61.7324,16.2656 62.0254,17.3047C 62.3184,18.3438 62.7297,19.3151 63.2623,20.2175C 63.7937,21.1211 64.4329,21.9427 65.179,22.6849C 65.925,23.4271 66.752,24.0651 67.6595,24.5964C 68.5658,25.1289 69.5397,25.5417 70.5787,25.8334C 71.6178,26.1263 72.6934,26.2734 73.8079,26.2734C 74.9276,26.2734 76.0084,26.1263 77.0475,25.8334C 78.0865,25.5417 79.0579,25.1302 79.9614,24.6029C 80.8639,24.0756 81.6868,23.4401 82.429,22.6979C 83.1713,21.9557 83.8052,21.1315 84.334,20.224C 84.8612,19.3177 85.2715,18.3464 85.5645,17.3112C 85.8574,16.2761 86.0032,15.1979 86.0032,14.0756 Z M 81.9224,14.0261L 81.9224,14.0756L 75.959,20.2982L 71.6543,20.2982L 76.1829,15.6589L 66.3235,15.6589L 66.3235,12.4427L 76.1829,12.4427L 71.6543,7.80469L 75.959,7.80469L 81.9224,14.0261 Z "/>
                </Canvas>
            </Viewbox>
            <Viewbox x:Name="Group_22" Width="970" Height="37" Canvas.Left="116" Canvas.Top="220">
                <Canvas Width="974" Height="37">
                    <Viewbox x:Name="Group_23" Width="533.333" Height="37.3333" Canvas.Left="198.611" Canvas.Top="0">
                        <Canvas Width="533.333" Height="37.3333">
                            <TextBox   x:Name="txtCRMURL" TextAlignment="Left" FontFamily="Segoe UI" FontSize="18" Width="530" Height="40" Padding="14,4,0,0" Canvas.Left="2" Canvas.Top="0" Foreground="#FF585A5F" LostFocus="txtCRMURL_LostFocus"></TextBox>
                        </Canvas>
                    </Viewbox>
                    <TextBlock x:Name="TextBlock_28" TextAlignment="Left" FontFamily="Segoe UI" FontSize="14" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,-0.373334,2.76404"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
					    <Run Text="Tenant's CRM URL" Foreground="#FF585A5F"/>
                    </TextBlock>
                    <TextBlock x:Name="TBlockCRMURL" Foreground="Red" Visibility="Hidden" TextAlignment="Left" FontFamily="Segoe UI" FontSize="12" Width="Auto" Height="Auto" Canvas.Left="42" Canvas.Top="4">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,704.86,1.37669"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
					    <Run Text="Tenant's CRM URL is mandatory" Foreground="#FFFF1D25"/>
                    </TextBlock>
                </Canvas>
            </Viewbox>
            <Viewbox x:Name="Group_29" Width="987.331" Height="37.3333" Canvas.Left="160.431" Canvas.Top="270">
                <Canvas Width="950" Height="37">
                    <Viewbox x:Name="Group_30" Width="553" Height="37" Canvas.Left="135" Canvas.Top="0">
                        <Canvas Width="522" Height="37">
                            <TextBox x:Name="txtUserId" TextAlignment="Left" FontFamily="Segoe UI" FontSize="18" Width="525" Height="40" Padding="14,4,0,0" Canvas.Top="0" Foreground="#FF585A5F" Canvas.Left="-10" LostFocus="txtUserId_LostFocus"/>
                        </Canvas>
                    </Viewbox>
                    <TextBlock x:Name="TextBlock_35" TextAlignment="Left" FontFamily="Segoe UI" FontSize="14" Width="Auto" Height="Auto" Canvas.Left="-14" Canvas.Top="0">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,-0.933324,2.76405"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
					    <Run Text="CRM User ID" Foreground="#FF585A5F"/>
                    </TextBlock>
                    <TextBlock x:Name="TBlockCRMUserId" Foreground="Red" Visibility="Hidden" TextAlignment="Left" FontFamily="Segoe UI" FontSize="12" Width="Auto" Height="Auto" Canvas.Left="-21" Canvas.Top="4">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,704.86,1.37669"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
					    <Run Text="CRM User Id is mandatory" Foreground="#FFFF1D25"/>
                    </TextBlock>
                </Canvas>
            </Viewbox>
            <Viewbox x:Name="Group_36" Width="983.198" Height="37.3333" Canvas.Left="144.565" Canvas.Top="320">
                <Canvas Width="903.198" Height="37.3333">
                    <Viewbox x:Name="Group_37" Width="533.333" Height="37.3333" Canvas.Left="132" Canvas.Top="0">
                        <Canvas Width="533.333" Height="37.3333">
                            <PasswordBox x:Name="txtPassword" MaxLength="16" FontFamily="Segoe UI" FontSize="18" Width="530" Height="40" Padding="14,4,0,0" Canvas.Left="0" Canvas.Top="0" Foreground="#FF585A5F" LostFocus="txtPassword_LostFocus"></PasswordBox>
                        </Canvas>
                    </Viewbox>
                    <TextBlock x:Name="TextBlock_53" TextAlignment="Left" FontFamily="Segoe UI" FontSize="14" Width="Auto" Height="Auto" Canvas.Left="-45" Canvas.Top="0">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,-0.933334,2.76405"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
					    <Run Text="CRM Password" Foreground="#FF585A5F"/>
                    </TextBlock>
                    <TextBlock x:Name="TBlockCRMPwd" Foreground="Red" Visibility="Hidden" TextAlignment="Left" FontFamily="Segoe UI" FontSize="12" Width="Auto" Height="Auto" Canvas.Left="-25" Canvas.Top="4">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,704.86,1.37669"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
					    <Run Text="CRM Password is mandatory" Foreground="#FFFF1D25"/>
                    </TextBlock>
                </Canvas>
            </Viewbox>
            <Viewbox x:Name="Group_39" Width="983.198" Height="37.3333" Canvas.Left="144.565" Canvas.Top="360">
                <Canvas Width="903.198" Height="37.3333">
                    <TextBlock x:Name="TextBlock_54" TextAlignment="Left" FontFamily="Segoe UI" FontSize="8" Width="Auto" Height="Auto" Canvas.Left="130" Canvas.Top="0">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,-0.933334,2.76405"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
                     <Run Text="Please enter same password as for your tenant's CRM. Your password must be 8-16 characters and" Foreground="#FF585A5F"/>
                        <LineBreak></LineBreak>
                        <Run Text="combine uppercase and lowercase letters, numbers and/or symbols(eg: ! @ # $ % ^ * [] | : , ' ? / ` ~)" Foreground="#FF585A5F"/>
                    </TextBlock>
                </Canvas>
            </Viewbox>
            <TextBlock x:Name="TbPrivacyStm" Visibility="Visible" TextAlignment="Left" FontFamily="Segoe UI" FontSize="14" Width="Auto" Height="Auto" 
                               Canvas.Left="21" Canvas.Top="595">
                <TextBlock.RenderTransform>
                    <TransformGroup>
                        <MatrixTransform Matrix="1.33333,0,0,1.33333,50.86,1.37669"/>
                    </TransformGroup>
                </TextBlock.RenderTransform>
                         <Hyperlink NavigateUri="http://www.microsoft.com/privacystatement/en-us/OnlineServices/Default.aspx" RequestNavigate="Hyperlink_RequestNavigate">
                          Please click here to read Microsoft's privacy policy.
                         </Hyperlink>
            </TextBlock>
            <TextBlock x:Name="TextBlock_62" TextAlignment="Left" FontFamily="Segoe UI" FontSize="16" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                <TextBlock.RenderTransform>
                    <TransformGroup>
                        <MatrixTransform Matrix="1.33333,0,0,1.33333,71.9044,166.326"/>
                    </TransformGroup>
                </TextBlock.RenderTransform>
			    <Run Text="Enter details for the new tenant" Foreground="#FF585A5F"/>
            </TextBlock>
        </Canvas>
        <Canvas x:Name="Chrome" Width="1280" Height="720" Canvas.Left="0" Canvas.Top="0">
            <Path x:Name="Path_63" Width="0.207998" Height="0.114746" Canvas.Left="23.2987" Canvas.Top="36.7002" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 23.4987,36.7002C 23.432,36.7361 23.3653,36.7708 23.2987,36.8069L 23.3067,36.8149L 23.5067,36.7097L 23.4987,36.7002 Z "/>
            <Path x:Name="Path_64" Width="0.00799942" Height="0.00799561" Canvas.Left="23.2989" Canvas.Top="36.8069" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 23.3069,36.8149L 23.2989,36.8069 Z "/>
            <Path x:Name="Path_65" Width="0.0426674" Height="0.0293579" Canvas.Left="22.9847" Canvas.Top="37.3582" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 22.9847,37.3876L 22.9847,37.3582L 23.0273,37.3729L 22.9847,37.3876 Z "/>
            <Rectangle x:Name="Rectangle_66" Width="1280" Height="55.9999" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="#FFCCCCCC"/>
            <Button Name="Close" Content="X" HorizontalAlignment="Left" Margin="1225,12,0,0" VerticalAlignment="Top" Width="40"  FontFamily="Segoe UI" FontSize="25"  Height="Auto"
            				    Click="CloseApplication"  BorderBrush="Transparent" BorderThickness="0" Foreground="#FF0072C6">
                <Button.Style>
                    <Style TargetType="{x:Type Button}">
                        <Setter Property="Background" Value="Transparent"/>
                        <Setter Property="Template">
                            <Setter.Value>
                                <ControlTemplate TargetType="{x:Type Button}">
                                    <Border Background="{TemplateBinding Background}">
                                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    </Border>
                                </ControlTemplate>
                            </Setter.Value>
                        </Setter>
                        <Style.Triggers>
                            <Trigger Property="IsMouseOver" Value="True">
                                <Setter Property="Background" Value="Red"/>
                            </Trigger>
                        </Style.Triggers>
                    </Style>
                </Button.Style>
            </Button>
            
            <Button Name="Minimize" Content="_" HorizontalAlignment="Left" Margin="1175,12,0,0" VerticalAlignment="Top" Width="40"  FontFamily="Segoe UI" FontSize="25"  
                    Height="Auto" FontWeight="Bold" Click="MinimizeApplication" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="#FF0072C6"/>
            <Path x:Name="Path_70" Width="10.3311" Height="21.3333" Canvas.Left="19.5036" Canvas.Top="17.3333" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 29.8347,17.3333L 29.8347,34.6893C 25.9973,34.9692 22.584,36.2479 19.5307,38.6666C 19.5213,38.3226 19.5107,38.0266 19.5053,37.7307C 19.5013,37.4399 19.5053,37.1492 19.5053,36.9453C 20.284,36.112 21.0387,35.364 21.724,34.5586C 23.7333,32.196 25.3027,29.5519 26.604,26.744C 27.9387,23.8613 28.956,20.8706 29.6987,17.784C 29.7293,17.6559 29.7747,17.5306 29.8347,17.3333 Z "/>
            <Path x:Name="Path_71" Width="12.1" Height="15.708" Canvas.Left="23.4985" Canvas.Top="21.0012" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 23.5065,36.7092C 24.3999,36.1891 25.3759,35.8799 26.3585,35.5905C 27.5279,35.2464 28.7239,35.0518 29.9385,34.9639C 30.0212,34.9572 30.1039,34.9359 30.2625,34.9092C 30.2905,33.0518 30.2719,31.1932 30.2919,29.3105C 31.3839,28.0692 32.3652,26.7332 33.2439,25.3239C 34.1092,23.9346 34.8519,22.4785 35.5985,21.0012C 35.5612,25.9318 35.5239,30.8638 35.4865,35.8291C 34.8892,35.7651 34.3319,35.7092 33.7772,35.6439C 31.8119,35.4105 29.8545,35.4678 27.8959,35.7318C 26.5359,35.9158 25.2065,36.2171 23.8985,36.6265C 23.7705,36.6678 23.6319,36.6771 23.4985,36.6999L 23.5065,36.7092 Z "/>
            <Path x:Name="Path_72" Width="17.0867" Height="13.5933" Canvas.Left="23.2793" Canvas.Top="24.4854" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 23.2793,37.2733C 27.3527,35.6906 31.554,35.4466 35.8967,36.084C 35.974,35.5906 35.93,35.1174 35.938,34.6492C 35.9473,34.1706 35.942,33.6906 35.9433,33.2119C 35.9447,32.7493 35.9473,32.2879 35.95,31.8254C 35.9527,31.3467 35.9553,30.8667 35.9567,30.388C 35.958,29.9106 35.9567,29.4333 35.9567,28.9546C 37.578,27.5986 39.018,26.1226 40.366,24.4854C 40.3153,28.9866 40.266,33.488 40.214,38.0786C 34.5993,36.3932 28.9807,35.896 23.2793,37.2733 Z "/>
            <Path x:Name="Path_73" Width="0.207998" Height="0.114746" Canvas.Left="23.2987" Canvas.Top="36.7002" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 23.4987,36.7002C 23.432,36.7361 23.3653,36.7708 23.2987,36.8069L 23.3067,36.8149L 23.5067,36.7097L 23.4987,36.7002 Z "/>
            <Path x:Name="Path_74" Width="0.00799942" Height="0.00799561" Canvas.Left="23.2989" Canvas.Top="36.8069" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 23.3069,36.8149L 23.2989,36.8069 Z "/>
            <Path x:Name="Path_75" Width="0.0426674" Height="0.0293579" Canvas.Left="22.9847" Canvas.Top="37.3582" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 22.9847,37.3876L 22.9847,37.3582L 23.0273,37.3729L 22.9847,37.3876 Z "/>
            <Viewbox x:Name="Group_76" Width="450" Height="30" Canvas.Left="60" Canvas.Top="19">
                <Canvas Width="450" Height="30">
                    <TextBlock x:Name="TextBlock_77" TextAlignment="Left" FontFamily="Segoe UI" FontSize="16" Width="Auto" Height="Auto" Canvas.Left="0" Canvas.Top="0">
                        <TextBlock.RenderTransform>
                            <TransformGroup>
                                <MatrixTransform Matrix="1.33333,0,0,1.33333,-1.92,-6.62083"/>
                            </TransformGroup>
                        </TextBlock.RenderTransform>
						    <Run Text="Dynamics CRM | Opportunity Prediction Setup" Foreground="#FF333333"/>
                    </TextBlock>
                </Canvas>
            </Viewbox>
        </Canvas>
        <Canvas x:Name="OverlayTD" Width="1280" Height="720" Canvas.Left="0" Canvas.Top="0" Visibility="Hidden">
            <Rectangle x:Name="Rectangle_80" Width="1280" Height="664" Canvas.Left="-8.13802e-005" Canvas.Top="55.9999" Stretch="Fill" Fill="#C0F2F2F2"/>
            <!--<Path x:Name="Path_81" Width="266.667" Height="266.667" Canvas.Left="506.666" Canvas.Top="254.667" Stretch="Fill" Fill="#FF0072C6" Data="F1 M 733.606,293.061L 722.254,304.412C 743.893,325.71 757.333,355.313 757.333,388C 757.333,452.698 704.698,505.334 640,505.334C 575.302,505.334 522.666,452.698 522.666,388C 522.666,323.302 575.302,270.667 640,270.667L 640,254.667C 566.362,254.667 506.666,314.362 506.666,388C 506.666,461.638 566.362,521.334 640,521.334C 713.638,521.334 773.333,461.638 773.333,388C 773.333,350.842 758.128,317.239 733.606,293.061 Z "/>-->
            <Grid Name="anime" Canvas.Top="210" Canvas.Left="460">
                <Ellipse x:Name="ellipse" Margin="55,49,54,38" StrokeThickness="10" RenderTransformOrigin="0.5,0.5" Width="255" Height="255">
                    <Ellipse.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform/>
                            <SkewTransform/>
                            <RotateTransform/>
                        </TransformGroup>
                    </Ellipse.RenderTransform>
                    <Ellipse.Stroke>
                        <LinearGradientBrush EndPoint="0.445,0.997" StartPoint="0.555,0.003">
                            <GradientStop Color="White" Offset="0"/>
                            <GradientStop Color="#FF0072C6" Offset="1"/>
                        </LinearGradientBrush>
                    </Ellipse.Stroke>
                </Ellipse>
            </Grid>
            <TextBlock x:Name="TextBlock_82" TextAlignment="Center" Width="Auto" Height="Auto" Canvas.Left="-25" Canvas.Top="0">
                <TextBlock.RenderTransform>
                    <TransformGroup>
                        <MatrixTransform Matrix="1.33333,0,0,1.33333,515.667,547.821"/>
                    </TransformGroup>
                </TextBlock.RenderTransform>
			<Run FontFamily="Segoe UI Light" FontSize="25" Text="Loading Subscriptions..." Foreground="#FF585A5F"/>
            </TextBlock>
        </Canvas>
    </Canvas>
</Window>